package com.ruicar.afs.cloud.channel.affiliation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.channel.affiliation.condition.AffiliationCondition;
import com.ruicar.afs.cloud.channel.affiliation.vo.ChannelBaseInfoTempVo;
import com.ruicar.afs.cloud.channel.online.entity.ChannelBaseInfoTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author panhj
 */
public interface ChannelBaseInfoTempMapper extends BaseMapper<ChannelBaseInfoTemp> {
    /**
     * 根据挂靠id获取合作商名称以及渠道归属
     *
     * @param condition
     * @return List<ChannelBaseInfoTempVo>
     */
    List<ChannelBaseInfoTempVo> getChannelBaseInfo(@Param("query") AffiliationCondition condition, @Param("ids") List<Long> ids);
}
